<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>last-child的运用</title>
<style>
ul{margin:0; padding:0;list-style:none;}
#u1 li{height:30px;line-height:30px; text-align:center; padding:10px;background:#66FFB3;border-bottom:1px solid #00C;}
#u2 li{height:30px;line-height:30px; text-align:center; padding:10px;float:left;background:#62B0FF;border-right:1px solid #00C;}
li:last-child {border:none !important;}
</style>
</head>

<body>
<ul id="u1">
	<li>12312321</li>
	<li>1213</li>
	<li>23</li>
	<li>ada</li>
</ul>
<ul id="u2">
	<li>12312321</li>
	<li>1213</li>
	<li>23</li>
	<li>ada</li>
</ul>
<br>
<p>IE6下是不支持last-child的</p>
</body>
</html>
